package com.oa.bean.work;

import java.util.Set;

// 办公用品类型表
public class Atype {
	private int typeid;// 类型id
	private String typename;// 类型名称

	private Set<Appliance> appliances;// 一个类型有多个物品

	public Set<Appliance> getAppliances() {
		return appliances;
	}

	public void setAppliances(Set<Appliance> appliances) {
		this.appliances = appliances;
	}

	public Atype() {
	}

	public Atype(int typeid, String typename) {
		super();
		this.typeid = typeid;
		this.typename = typename;
	}

	public int getTypeid() {
		return typeid;
	}

	public void setTypeid(int typeid) {
		this.typeid = typeid;
	}

	public String getTypename() {
		return typename;
	}

	public void setTypename(String typename) {
		this.typename = typename;
	}

	@Override
	public String toString() {
		return "Atype [typeid=" + typeid + ", typename=" + typename + "]";
	}

}
